{{if $pageArray.page->total > 0}}
<div class="video_page">
	<a href="{{$pageArray.page->pageUrl}}&p=1" target="_self">first</a>
	{{if $pageArray.page->preUrl != ''}}
	<a class="page_prev" href="{{$pageArray.page->preUrl}}"  target="_self">prev</a> 
	{{/if}}
	{{foreach from=$pageArray.page->showPages key=key item=item}}
	{{if $item == 'curpage'}}
	<a href="javascript:void(0);" class="page_selected" target="_self">{{$key}}</a>
	{{else}}
	<a href="{{$item}}"  target="_self">{{$key}}</a>
	{{/if}}
	{{/foreach}}
	{{if $pageArray.page->nexUrl != ''}}
	<a class="page_next"  href="{{$pageArray.page->nexUrl}}" target="_self">next</a>
	{{/if}}
	<a href="{{$pageArray.page->pageUrl}}&p={{$pageArray.page->totalPage}}" target="_self">last</a>
</div>
{{/if}}